package com.gt.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 服用药物情况表
 * </p>
 *
 * @author caidesheng
 */
@Data
@ApiModel(value="EsUseDrugInfo", description="服用药物情况表")
public class EsUseDrugInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "环境信息id                       ")
    @TableId(value = "ordrowid", type = IdType.ASSIGN_ID)
    private String ordrowid;

    @ApiModelProperty(value = "筛选检查id                       ")
    @TableField("ES_Check_id")
    private String esCheckId;

    @ApiModelProperty(value = "首次服用抗生素年龄               ")
    private String firstAntibioticAge;

    @ApiModelProperty(value = "服用时间                         ")
    private String firstAntibioticTime;

    @ApiModelProperty(value = "是否经常服用抗生素               ")
    private String useAntibioticFlag;

    @ApiModelProperty(value = "开始服用抗生素年龄               ")
    private String useAntibioticAge;

    @ApiModelProperty(value = "服用抗生素频率                   ")
    private String useAntibioticFrequency;

    @ApiModelProperty(value = "每次服用该抗生素时间             ")
    private String useAntibioticTime;

    @ApiModelProperty(value = "是否服用非甾体类消炎药物(NSAID)  ")
    private String useNsaidFlag;

    @ApiModelProperty(value = "开始服用非甾体类消炎药物年龄     ")
    private String useNsaidAge;

    @ApiModelProperty(value = "服用非甾体类消炎药物频率         ")
    private String useNsaidFrequency;

    @ApiModelProperty(value = "是否服用抑酸剂                   ")
    private String useAntacidsFlag;

    @ApiModelProperty(value = "开始服用抑酸剂年龄               ")
    private String useAntacidsAge;

    @ApiModelProperty(value = "服用抑酸剂频率                   ")
    private String useAntacidsFrequency;

    @ApiModelProperty(value = "每次服用抑酸剂时间               ")
    private String useAntacidsTime;

    @ApiModelProperty(value = "是否服用其他药物                 ")
    private String useOtherFlag;

    @ApiModelProperty(value = "服用其他药物名称                 ")
    private String useOtherName;

    @ApiModelProperty(value = "开始服用其他药物年龄             ")
    private String useOtherAge;

    @ApiModelProperty(value = "服用其他药物频率                 ")
    private String useOtherFrequency;

    @ApiModelProperty(value = "每次服用其他药物时间             ")
    private String useOtherTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "首次服用抗生素备注")
    private String firstAntibioticRemark;
    @ApiModelProperty(value = "经常服用抗生素备注")
    private String useAntibioticRemark;
    @ApiModelProperty(value = "是否服用非甾体类消炎药物备注(NSAID)")
    private String useNsaidRemark;
    @ApiModelProperty(value = "服用抑酸剂备注")
    private String useAntacidsRemark;
}
